package com.cxso.example.request.sign;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@Schema(description = "合同管理-上传文件创建合同-入参")
public class SignUploadFileCreateContractRequest {

    @Schema(description = "手机号", example = " 18888888888")
    @NotBlank(message = "手机号不能为空")
    private String mobilePhone;

    @Schema(description = "合同文件链接", example = "合同文件跟链接二选一")
    private String fileUrl;

    @Schema(description = "合同文件", example = "合同文件跟链接二选一")
    private byte[] bytes;

    @Schema(description = "合同文件名", example = "传合同文件时必传")
    private String fileName;
}
